package com.gxwz.medical.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.gxwz.medical.domain.ChronicInfo;


public class ChronicInfoDao  extends GenericDao<ChronicInfo> {

		@Override
		protected ChronicInfo handle(ResultSet rs) throws SQLException {
			ChronicInfo chronicInfo=new ChronicInfo();
			chronicInfo.setPerscode(rs.getString("perscode"));
			chronicInfo.setIllcode(rs.getString("illcode"));
			chronicInfo.setCardID(rs.getString("cardID"));
			chronicInfo.setIllname(rs.getString("illname"));
			chronicInfo.setStarttime(rs.getString("starttime"));
			chronicInfo.setEndtime(rs.getString("endtime"));
			return chronicInfo;
		}
}
